

#ifndef MAIN_H
#define MAIN_H


#include <X11/Xlib.h>
#include <X11/Xutil.h>


#include "Ellipse.h"
#include "Line.h"
#include "Rectangle.h"
#include "MyDisplay.h"
//#include "Color.h"

#endif
#include<stdlib.h>

int main(){

  MyDisplay show;

  
  //Color c1(show);
/*
  Line xAxis(show),yAxis(show);  
  
      xAxis.drawLine(0,-512,0,512); 

      yAxis.drawLine(-512,0,512,0); 
      Ellipse e1(100,120,show); 
       
      e1.draw(50,-100);
  */
  
  Rectangle r1(show);
  
  r1.x1 = 0;
  r1.y1 = 0;    
  
  r1.x2 = 110;
  r1.y2 = 0;    
  
  r1.x3 = 0;
  r1.y4 = 50;    
         
  r1.x4 = 110;
  r1.y4 = 110;    
     
  
    r1.draw();
    
    
    r1.fill();
    sleep(10);
  
  return 1;    

}


